Companion

object Companion

Functions

cd
Link copied to clipboard
fun cd(newWD: Path)
Change the working directory
resolve
Link copied to clipboard
fun resolve(rawPath: String): String
Resolve a raw path, replacing ~ if present.

Properties

cwd
Link copied to clipboard
var cwd: Path
The current working directory.
pathSeparator
Link copied to clipboard
val pathSeparator: String
The current OS's path separator.
userHome
Link copied to clipboard
val userHome: Path
The current user's home dir.

Sources

js source
Link copied to clipboard